home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / libg_261.zip / libg_261 / libg++ / etc / graph / tick_intrvl.h < prev   
C/C++ Source or Header  |  1992-05-14  |  468b  |  13 lines

  1. #include "math.h"
  2.  
  3. // The resolution of the output device is much less than seven digits.
  4. // A_HAIR_MORE is used to ingore the effects of round off error which should
  5. // occur in the last few of the 16 digits.
  6. #define A_HAIR_MORE 1.0000001
  7.  
  8. // TICK_INTERVAL returns the step size which can be used to put a
  9. // specified NO_OF_TICKS beteen the specified UPPER_LIMIT and LOWER_LIMIT.
  10.  
  11. double
  12. tick_interval (double no_of_ticks, double &lower_limit, double &upper_limit);
  13.